home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / zsh / Source / func / proto < prev    next >
Encoding:
Text File  |  1993-01-31  |  194 b   |  9 lines

  1. #! /bin/sh
  2. # generate prototypes, if your style is the same as mine
  3. for i
  4. do
  5.     rm $i:r.pro 2>/dev/null
  6.     grep -v '[{};:#]' $i | grep '^[A-Za-z]' |
  7.         grep -v static | sed 's/$/;/' >! $i:r.pro
  8. done
  9.